package cn.ittaoli.ajax.dao;

import cn.ittaoli.ajax.model.Admin;

import java.util.List;

public interface AdminMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);


    List<Admin> selectAll();

    Admin selectByName(Admin admin);
}